Gets the URL of an Item photo.
Method | GetItemPhoto |
The request body is of type GetItemPhoto.
Name | Description | Data Type |
---|---|---|
StockCode | The stock code of the item. | xml:string |
// Example: Get the path of the Photo1 Featured Photo1 of A100 // MakeAJAXCall("Inventory.GetItemPhoto", { StockCode: 'A100' }, console.log);
The response body is of type GetItemPhotoResponse.
Name | Description | Data Type |
---|---|---|
GetItemPhotoResult | A string value containing a relative URL to the Photo1 featured photo for the item. /Ecommerce/site/images/Photo1/A100.jpg | xml:string |